/* 电脑样式 */
@media (min-width: 768px) {
    .myblog{
        font-size: 24px;
    }
    .myblog header img{
        width: 40%;
        height: 40%;
        border-radius: 50%;
        border: 4px solid #fff;
        box-shadow: 0 0 10px #fff;
    }
    .myblog header .name{
        color: #fff;
        margin: 20px;
    }
    .myblog header .motto{
        color: #fff;
    }
    hr{
        width: 70%;
        border: none;
        border-top: 2px solid #596381;
    }
    .desc{
        color: #b8babd;
        line-height: 2;
        letter-spacing: 4px;
        margin: 10px;
    }
    footer
    {
        position: absolute;
        bottom: 10px;
        width: 100%;
        text-align: center;
        color: #b8babd;
    }
    
    .myblog .links{
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: 20px;
    }
    
    .myblog .links a
    {
        border: 1px solid #fff;
        border-radius: 15px;
        padding: 5px 15px;
        margin: 0 25px;
        font-size: 100%;
        color: #fff;
        text-decoration: none;
    }
    .myblog a:hover
    {
        background-color: #fff;
        color: #596381;
    }
}

/* 平板样式 */
/* @media (min-width: 768px) and (max-width: 991px) { 
    
} */

/* 手机样式 */
@media (max-width: 767px) {
    /* 在这里编写手机端的样式 */
    .myblog{
        font-size: 80%;
    }
    .myblog header img{
        width: 20%;
        height: 20%;
        border-radius: 50%;
        border: 3px solid #fff;
        box-shadow: 0 0 10px #fff;
    }
    .myblog header .name{
        color: #fff;
        margin: 10px;
        font-size: 100%;
    }
    .myblog header .motto{
        color: #fff;
    }
    hr{
        width: 50%;
        border: none;
        border-top: 2px solid #596381;
    }
    .desc{
        color: #b8babd;
        line-height: 2;
        letter-spacing: 4px;
        margin: 10px;
        font-size: 100%;
    }
    footer
    {
        position: absolute;
        bottom: 10px;
        width: 100%;
        text-align: center;
        color: #b8babd;
    }
    
    .myblog .links{
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: 20px;
    }
    
    .myblog .links a
    {
        border: 1px solid #fff;
        border-radius: 15px;
        padding: 2px 15px;
        margin: 0 10px;
        color: #fff;
        text-decoration: none;
    }
    .myblog a:hover
    {
        background-color: #fff;
        color: #596381;
    }
}

/* public */
.myblog {
    width: 100%;
    height: 100%;
    /* 居中 */
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    font-family: 'Avenir', Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-align: center;
}